package com.zoweunion.mechanic.model.app;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;

/**
 * 积分兑换表
 */
public class IntegrationExchangeRecord implements Serializable {

    private static final long serialVersionUID = 7998800162825659640L;

    private String id;
    /** 积分商品id */
    private String integrationGoodsId;
    /** 积分商品名称 */
    private String integrationGoodsName;
    /** 积分商品名称 */
    private Integer score;
    /** 兑换人 */
    private String userId;
    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String createTime;
    /**  */
    private String updateUser;
    /**  */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private String updateTime;
    /**  */
    private String deleteFlag;

    // 以下为非数据库字段
    /** 积分商品 */
    private IntegrationGoods integrationGoods;

    /** 商品积分 */
    private Integer goodsScore;
    /** 商品积分 */
    private String integrationGoodsPic;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getIntegrationGoodsId() {
        return integrationGoodsId;
    }

    public void setIntegrationGoodsId(String integrationGoodsId) {
        this.integrationGoodsId = integrationGoodsId;
    }

    public String getIntegrationGoodsName() {
        return integrationGoodsName;
    }

    public void setIntegrationGoodsName(String integrationGoodsName) {
        this.integrationGoodsName = integrationGoodsName;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }
    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public String getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(String updateUser) {
        this.updateUser = updateUser;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public IntegrationGoods getIntegrationGoods() {
        return integrationGoods;
    }

    public void setIntegrationGoods(IntegrationGoods integrationGoods) {
        this.integrationGoods = integrationGoods;
    }

    public Integer getGoodsScore() {
        return goodsScore;
    }

    public void setGoodsScore(Integer goodsScore) {
        this.goodsScore = goodsScore;
    }

    public String getIntegrationGoodsPic() {
        return integrationGoodsPic;
    }

    public void setIntegrationGoodsPic(String integrationGoodsPic) {
        this.integrationGoodsPic = integrationGoodsPic;
    }
}
